package com.zeroone.star.project.systemhome;

import com.zeroone.star.project.dto.systemhome.MessageDTO;
import com.zeroone.star.project.vo.JsonVO;

import java.util.List;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.project.systemhome
 * @Author: dashuai
 * @CreateTime: 2024-11-17  19:56
 * @Description: 信息相关接口
 * @Version: 1.0
 */
public interface MessageApis {
    /**
     * @description: 获取所有信息目录
     * @author: dashuai
     * @date: 2024/11/17 19:59
     * @param: []
     * @return: JsonVO<List<String>>
     **/
    JsonVO<List<String>> queryContents();

    /**
     * @description: 获取所有信息
     * @author: dashuai
     * @date: 2024/11/17 20:00
     * @param: [id, appInfoType] 登入账号id , 信息分类名称
     * @return: JsonVO<List<MessageDTO>>
     **/
    JsonVO<List<MessageDTO>> queryMessageList(String id, String type);
}
